<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>辅助资料--交货地点</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css"
			href="<%=request.getContextPath()%>/css/public.css">
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/sorttable.js"></script>
		<script language="JavaScript"
			src="<%=request.getContextPath()%>/js/public.js"></script>

	</head>

	<body>
		<div id="info_all">
			<div id="info_top">
				辅助资料--交货地点
			</div>
			<!-- 主输入区 -->
			<!-- 功能按钮 -->
			<s:form action="searchDeliveryAddress.action" theme="simple"
				id="delrow" cssStyle="margin-top:0px;">
				<div id="btn">
					<input type="button" value="新增"
						onClick="addAction('addInputDeliveryAddress')"
						onFocus="this.blur()" onmouseover="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
					<input type="button" value="修改"
						onClick="updateAction('updateInputDeliveryAddress')"
						onFocus="this.blur()" onmouseover="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
					<input type="button" value="删除"
						onClick="deleteAction('deleteDeliveryAddress')"
						onFocus="this.blur()" onmouseover="this.className='btnover'"
						onmouseout="this.className='btnout'" class="btnsize" />
				</div>
				<div id="info_main">
					<div id="select">
						<hr>
						<table>
							<tr>

								<td>
									代码&nbsp;
								</td>
								<td>
									<s:textfield name="deliveryAddress.deliveryAddressCode"
										size="12" maxlength="10"></s:textfield>
									&nbsp;&nbsp;&nbsp;
								</td>
								<td>
									名称&nbsp;
								</td>
								<td>
									<s:textfield name="deliveryAddress.deliveryAddressName"
										size="12" maxlength="20"></s:textfield>
									&nbsp;&nbsp;&nbsp;
								</td>
							</tr>
						</table>
					</div>
					<div class="sele">
						<input type="submit" value="查询" onFocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" class="btnsize" />

						<input type="reset" value="重置" onFocus="this.blur()"
							onmouseover="this.className='btnover'"
							onmouseout="this.className='btnout'" class="btnsize" />
						<hr>
					</div>


					<!-- 信息显示栏 -->
					<table width="240px" cellpadding="1" cellspacing="1"
							class="" id="info_table">
							<thead id="head">
								<tr>
									<th>
										<input type="checkbox" name="checkbox" onClick="selectAll()" />
									</th>
									<th width="100px">
										代码
									</th>
									<th width="140px">
										名称
									</th>
								</tr>
							</thead>
						</table>
					<div id="info_info1">
						<table width="240px" cellpadding="1" cellspacing="1"
							class="sortable" id="info_table">
							<tbody id="mbody">
								<s:if test="!deliveryAddresses.isEmpty()">
									<s:iterator value="deliveryAddresses">
										<tr>
											<td>
												<s:checkbox name="rowlist" fieldValue="%{deliveryAddressId}"
													theme="simple" />
											</td>
											<td width="100px">
												<s:property value="deliveryAddressCode" />
												&nbsp;
											</td>
											<td width="100px">
												<s:property value="deliveryAddressName" />
												&nbsp;
											</td>
										</tr>
									</s:iterator>
								</s:if>
							</tbody>
							<tfoot>
							</tfoot>
						</table>
						<script language="javascript">  
						//("表格名称","奇数行背景","偶数行背景","点击后背景");
						 mouseclick("info_table","#ffffff","#ffffff","#e6f0fd");
						 //("表格名称","奇数行背景","偶数行背景");
						 //setcolor("t","#ffffff","#ffffff");
						</script>
					</div>
				</div>
			</s:form>
		</div>
	</body>
</html>


